package com.government.company.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.government.common.annotation.Excel;
import com.government.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 企业软件著作权信息对象 t_company_accs
 * 
 * @author system
 * @date 2023-10-31
 */
@TableName("t_company_accs")
@Data
public class CompanyAccs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type = IdType.AUTO )
    private Long id;

    /** 企业id */
    @Excel(name = "企业id")
    private Long companyId;

    /** 软件全称 */
    @Excel(name = "软件全称")
    private String name;

    /** 版本号 */
    @Excel(name = "版本号")
    private String version;

    /** 登记号 */
    @Excel(name = "登记号")
    private String registerNo;

    /** 开发完成日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开发完成日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date completeDate;

    /** 登记日期 */
    @Excel(name = "登记日期", readConverterExp = "$column.readConverterExp()")
    private Date registerDate;

    /** 获取方式 */
    @Excel(name = "获取方式")
    private String accessMode;

    /** 简称 */
    @Excel(name = "简称")
    private String shortName;

    /** 发布日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date publishDate;

    @TableField(exist = false)
    private int no;
}
